package com.diu.domain.strategy.service.armory;

import com.diu.domain.strategy.model.entity.StrategyAwardEntity;

import java.util.List;

/**
 * @author diu
 * @description 策略装配库，负责初始化策略计算
 * @create_time 2025/10/2 21:49
 */
public interface IStrategyArmory {
    /**
     * 装配策略
     *
     * @param key 策略ID
     * @return 是否装配成功
     */
    boolean assembleLotteryStrategy(String key, List<StrategyAwardEntity> strategyAwardEntities);

    /**
     * 装配权重策略
     *
     * @param strategyId 策略ID
     * @return 是否装配成功
     */
    boolean assembleLotteryWeightStrategy(Long strategyId);


    boolean assembleLotteryStrategy(Long strategyId);
}
